﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.DataAdapter;

namespace Sealight.CoreAPI
{
   public interface IUserService
    {
       bool Authenticate(string username, string password);

        bool MemberExists(string username);

        user AddOrUpdate(user user);
       
        user GetByUsername(string username);

        user GetById(Guid id);

        void Delete(user data);

        IList<user> GetAll();
    }
}
